cssvalue: Use _gtk_css_initial_value_get() for the inherit value
authorBenjamin Otte <otte@redhat.com>
Sun, 25 Nov 2012 14:35:27 +0000 (15:35 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 25 Nov 2012 21:29:14 +0000 (22:29 +0100)
See previous commit(s).

gtk/gtkcssinheritvalue.c

index 296b1e3f992850fa8884ffefdb6e990afe266d69..e2c3f163300b2a19c889ae52057d815936ff2e1b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "gtkcssinheritvalueprivate.h"
 
-#include "gtkcssstylepropertyprivate.h"
+#include "gtkcssinitialvalueprivate.h"
 #include "gtkstylecontextprivate.h"
 
 struct _GtkCssValue {
@@ -48,7 +48,7 @@ gtk_css_value_inherit_compute (GtkCssValue             *value,
     }
   else
     {
-      return _gtk_css_value_compute (_gtk_css_style_property_get_initial_value (_gtk_css_style_property_lookup_by_id (property_id)),
+      return _gtk_css_value_compute (_gtk_css_initial_value_get (),
                                      property_id,
                                      provider,
                                      values,